s1 = '''The user doesn’t interact with any of these APIs directly. Instead, Cortex programmatically calls these APIs to provision clusters, launch deployments, and monitor APIs.
Making all of these overlapping API calls in a performative, reliable way is a challenge. Handling them concurrently is the most efficient way to do things, but it also introduces complexity, as now we have to worry about things like race conditions.'''
s2 = s1.split()
print(s2,len(s2))

# 直接使用split进行切割，对于, . 这些符号全部没有分割出来
# 而且只统计了单词的个数，没有分别统计单个单词出现的次数